//
//  SJRegularDetectionTool.h
//  Init
//
//  Created by zhaoshijie on 05/02/2018.
//  Copyright © 2018 zhaoshijie. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SJRegularDetectionTool : NSObject



/**
 11位的手机号码
 
 @param phone 手机号码
 @return 检测结果
 */
+ (BOOL)regularDetectionWithPhone:(NSString *)phone;


/**
 中文、英文、数字但不包括下划线等符号
 
 @param string 手机号码
 @return 检测结果
 */
+ (BOOL)regularDetectionWithChineseEnglishAndNumberWithString:(NSString *)string;



/**
 判断密码格式
 
 @param passwordString 密码
 @return 结果
 */
+ (BOOL)regularDetectionWithPasswordString:(NSString *)passwordString;


/**
 判断身份证格式
 
 @param IDCardNumber 身份证
 @return 结果
 */
+ (BOOL)regularDetectionWithIdentityCard:(NSString *)IDCardNumber;


/**
 判断银行卡格式
 
 @param cardNumber 银行卡
 @return 结果
 */
+ (BOOL) regularDetectionWithBankCard:(NSString *)cardNumber;



@end
